package org.zfes.snowier.cloud.zbss.cms.words.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsWordsHot extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsWordsHot() {}
	public CmsWordsHot(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotNull(message="热词不能为空")
	@javax.validation.constraints.NotBlank(message="热词不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=150,message="热词长度不能大于150")
	  private java.lang.String words;
 
	@javax.validation.constraints.NotNull(message="搜索次数不能为空")
	private java.lang.Integer searchCount;
	
	@javax.validation.constraints.NotNull(message="状态不能为空")
	  private java.lang.Byte status;
 
	
	  public java.lang.Integer getSearchCount() {
		return searchCount;
	}
	public void setSearchCount(java.lang.Integer searchCount) {
		this.searchCount = searchCount;
	}


	private java.lang.Long siteId;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	  private java.util.Date createTime;
 
	@javax.validation.constraints.NotNull(message="最后修改时间不能为空")
	  private java.util.Date updateTime;
 
	
	//<-------------------------------------------->
	public CmsWordsHot setWords(java.lang.String words){
		this.words=words==null?null:words.trim();
	 return this;
	}
	public java.lang.String getWords(){
		return this.words;
	}
	public CmsWordsHot setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsWordsHot setSiteId(java.lang.Long siteId){
	 this.siteId=siteId;
	 return this;
	}
	public java.lang.Long getSiteId(){
		return this.siteId;
	}
	public CmsWordsHot setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public CmsWordsHot setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}

}
